package com.example.studentregistration.pojo;

import cn.hutool.core.annotation.Alias;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class CheckIn {
    @Alias("入住记录ID")
    private Integer id;

    @Alias("学生ID")
    private Integer studentId;

    @Alias("楼宇ID")
    private Integer buildingId;

    @Alias("房间ID")
    private Integer roomId;

    @Alias("床位号")
    private String bedNo;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Alias("入住日期")
    private Date checkInDate;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Alias("退宿日期")
    private Date checkOutDate;

    @Alias("操作员ID")
    private Integer operatorId;

    @Alias("入住状态")
    private String status; // 入住中/已退宿

    @Alias("备注")
    private String remark;
}